/**
 * @filename:Material Jan 14, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(物料列表实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_bd_material")
@ApiModel(value="t_bd_material对象", description="物料列表表")
public class Material extends Model<Material> {

	private static final long serialVersionUID = 1736838924201578L;
	
//    @TableField(exist = false)
//	@ApiModelProperty(name = "id" , value = "编号")
//    private Long id;
    
    @TableId(value = "Id",type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "")
    private Long Id;
    
    @TableField(value = "MaterialNumber") 	
	@ApiModelProperty(name = "MaterialNumber" , value = "物料编码")
    private String MaterialNumber;
    
    @TableField(value = "MaterialName") 	
	@ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;
    
    @TableField(value = "Specification") 	
	@ApiModelProperty(name = "Specification" , value = "物料规格")
    private String Specification;
    
    @TableField(value = "UnitNumber") 	
	@ApiModelProperty(name = "UnitNumber" , value = "单位编码")
    private String UnitNumber;
    
    @TableField(value = "UnitName") 	
	@ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;
    
    @TableField(value = "StockNumber") 	
	@ApiModelProperty(name = "StockNumber" , value = "仓库编码")
    private String StockNumber;
    
    @TableField(value = "StockName") 	
	@ApiModelProperty(name = "StockName" , value = "仓库名称")
    private String StockName;
    
    @TableField(value = "CreateTime") 	
	@ApiModelProperty(name = "CreateTime" , value = "创建时间")
    private Date CreateTime;
    
    @TableField(value = "CreateUser") 	
	@ApiModelProperty(name = "CreateUser" , value = "创建人")
    private String CreateUser;
    
    @TableField(value = "Isflot") 	
	@ApiModelProperty(name = "Isflot" , value = "是否启用批号1启用 2不启用")
    private Boolean Isflot;
    
    @TableField(value = "MaterialGroupNumber") 	
	@ApiModelProperty(name = "MaterialGroupNumber" , value = "物料分组")
    private String MaterialGroupNumber;
    
    @TableField(value = "MaterialGroupName") 	
	@ApiModelProperty(name = "MaterialGroupName" , value = "物料分组名称")
    private String MaterialGroupName;
    
    @TableField(value = "Conversion") 	
	@ApiModelProperty(name = "Conversion" , value = "吨数换算关系")
    private Double Conversion;

    @TableField(value = "FAuxUnitNo")
    @ApiModelProperty(name = "FAuxUnitNo" , value = "辅助单位编码")
    private String FAuxUnitNo;

    @TableField(value = "FAuxUnitName")
    @ApiModelProperty(name = "FAuxUnitName" , value = "辅助单位名称")
    private String FAuxUnitName;

	@Override
    public Serializable pkVal() {
        return this.Id;
    }

}
